package com.atguigu.eud_teacher.feignclient;

import com.atguigu.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @description:
 * @author: Administrator
 * @date: 2021-04-09 21:19
 */
@Component
public class CourseFeignVideoImpl implements CourseFeignVideo {
    @Override
    public R deleteVideo(String id) {
        return R.error().message("删除单个视频失败,服务器断开");
    }

    public R deleteForBatch(List<String> videoIdList) {
        return R.error().message("删除多个视频失败,服务器断开");
    }

    @Override
    public R getVideoPlayAuth(String videoId) {
        return R.error().message("获取凭证失败,服务器断开");
    }
}
